﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Warl
{
    public partial class Add_Profile : Form
    {
        Main _main;

        public Add_Profile(Main form)
        {
            InitializeComponent();
            //
            this._main = form;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            _main.addProfile(textBox1.Text.Trim());
            this.Close();
        }
    }
}
